package com.bean;

import java.util.HashMap;
import java.util.Map;

public class Data {

	private static Map<Integer, Student> dbMap = new HashMap<Integer, Student>();

	static {
		dbMap.put(1, new Student(1, "不笑猫", "女", 18));
		dbMap.put(2, new Student(2, "布小蛮", "女", 18));
		dbMap.put(3, new Student(3, "吕布", "男", 40));
		dbMap.put(4, new Student(4, "貂蝉", "女", 38));
	}

	public static Map<Integer, Student> getDbMap() {
		return dbMap;
	}

	public static void setDbMap(Map<Integer, Student> dbMap) {
		Data.dbMap = dbMap;
	}

}
